package com.gxa.modules.mapper.zxy;

import com.gxa.modules.pojo.Audit;
import com.gxa.modules.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Author: zxy
 * Date: 2021/12/28 10:48
 * Description:
 * Version: V1.0
 */
public interface UserMapper {

    int addUser(Map map);

    List<User> queryUserList(Map map);

    Integer querySaleShop(Long userId);

    Integer queryTryShop(Long userId);

    int changeUser(Map map);

    Integer forbidden(Integer id);

    Integer start(Integer id);

    List<User> queryAudit(Map map);

    Audit auditOne(Integer id);

    Integer agree(Integer id);

    Integer refuse(Integer id);

    Integer auditSome(@Param("id") String[] ids);

    Integer deleteAudit(Integer id);

    Integer queryTotal(Map map);

    User queryUserById(Integer id);

    Integer queryAuditTotal(Map map);
}
